package com.ruoyi.project.user.usermapper.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 用户映射对象 user_mapper
 * 
 * @author shixiangwen
 * @date 2022-10-11
 */
public class UserMapper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 应用ID */
    @Excel(name = "应用ID")
    private String appId;

    /** 登陆类型 */
    @Excel(name = "登陆类型")
    private String thirdType;

    /** 第三方用户ID */
    @Excel(name = "第三方用户ID")
    private String thirdUserId;

    /** kkid */
    @Excel(name = "kkid")
    private Long kkid;

    /** 注册时间 */
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAppId(String appId) 
    {
        this.appId = appId;
    }

    public String getAppId() 
    {
        return appId;
    }
    public void setThirdType(String thirdType) 
    {
        this.thirdType = thirdType;
    }

    public String getThirdType() 
    {
        return thirdType;
    }
    public void setThirdUserId(String thirdUserId) 
    {
        this.thirdUserId = thirdUserId;
    }

    public String getThirdUserId() 
    {
        return thirdUserId;
    }
    public void setKkid(Long kkid) 
    {
        this.kkid = kkid;
    }

    public Long getKkid() 
    {
        return kkid;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appId", getAppId())
            .append("thirdType", getThirdType())
            .append("thirdUserId", getThirdUserId())
            .append("kkid", getKkid())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
